package com.woniuxy.third.service.impl;

import com.woniuxy.third.entity.School;
import com.woniuxy.third.mapper.SchoolMapper;
import com.woniuxy.third.service.SchoolService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class SchoolServiceImpl implements SchoolService {
    @Resource
    private SchoolMapper schoolMapper;
    @Override
    public List<School> findAllSchool() {
        return this.schoolMapper.findAllSchool();
    }
}
